@charset "utf-8";
@bgColorGreen:#009688;
@ColorW:#fff;
/* tab样式 */
.page-tab{
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-top: 1px solid #f1f0f0;
    box-sizing: border-box;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    .tab-btn{
        position: absolute;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        color: #999;
        z-index: 2;
        top: 0;
        background: #fff;
        border: none;
        box-sizing: border-box;
        border-left: 1px solid #f6f6f6;
        cursor: pointer;
        &.layui-icon-prev{
            left: 0;
            border-left: none;
            border-right: 1px solid #f6f6f6;
        }
        &.layui-icon-next{
            right: 40px;
        }
    }
    .page-tab-content{
        overflow: hidden;
        height: 40px;
        margin-left: 40px;
        line-height: 40px;
        background-color: #fff;
        .menu-list{
            float: left;
            height: 40px;
            line-height: 40px;
            a{
                float: left;
                text-decoration: none;
                padding: 0 15px;
                border-right: 1px solid #f1f0f0;
                color: #999;
                font-size: 12px;
                cursor: pointer;
                background-color: #fff;
                transition: background-color .5s;
                -moz-transition: background-color .5s;
                -webkit-transition: background-color .5s;
                -o-transition: background-color .5s;
                &.active{
                    position: relative;
                    background-color: #f6f6f6;
                    color: #000;
                    border-right: 0;
                    transition: color .5s;
                    -moz-transition: color .5s;
                    -webkit-transition: color .5s;
                    -o-transition: color .5s;
                    transition: background-color .5s;
                    -moz-transition: background-color .5s;
                    -webkit-transition: background-color .5s;
                    -o-transition: background-color .5s;
                    &:after{
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 100%;
                        height: 2px;
                        background-color: @bgColorGreen;
                        content: "";
                        box-sizing: border-box;
                    }
                    .layui-icon{
                        color: #000;
                        &:hover{
                            border-radius: 2px;
                            background-color: #FF5722;
                            color: #fff;
                        }
                    }
                }
                &:hover{
                    background-color: #f6f6f6;
                }
            }
        }
    }
    .page-operation{
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        color: #999;
        background: #fff;
        box-sizing: border-box;
        border-left: 1px solid #f6f6f6;
        cursor: pointer;
        &:hover {
            background-color: #f6f6f6;
            .menu-all{
                display: block;
            }
        }
        .menu-all{
            display: none;
            position: absolute;
            top: 40px;
            left: auto;
            right: 0;
            min-width: 100%;
            line-height: 36px;
            padding: 5px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,.12);
            border: 1px solid #d2d2d2;
            background-color: #fff;
            z-index: 100;
            border-radius: 2px;
            white-space: nowrap;
            .menu-all-ul{
                li{
                    a{
                        display: block;
                        padding: 0 20px;
                        color: #666;
                        transition: all .3s;
                        -webkit-transition: all .3s;
                        font-size: 14px;
                        &:hover{
                            background-color: @bgColorGreen;
                            color: @ColorW;
                        }
                    }
                }
            }
        }
    }
    .menu-close{
        margin-left: 8px;
        vertical-align: middle;
        font-size: 15px;
        width: 16px;
        height: 16px;
        line-height: 16px;
    }
}
/* tab样式end */